define([], function() {
	var data = [ {
		url : './js/index.html',
		title : 'JS Demos'
	},{
		url : './jointjs/index.html',
		title : 'JointJS Demos'
	},{
		url : './angular/index.html',
		title : 'AngularJS Demos'
	}  ];
	$allDemos = $('#allDemos');
	$allDemos.append($(_.template($allDemos.find('script').html())({
		data : (data || {})
	})));
	$allDemos.on('click', 'a', function() {
		var url = $(this).attr('data-options');
		if (url) {
			jl.open(url);
		}
	});
});
